package com.gzh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author gzh
 * @since 2022-05-20
 */
@Getter
@Setter
@TableName("rbac_menu")
public class Menu implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String url;

    /**
     * vue组件的访问路径
     */
    private String path;

    /**
     * vue组件名称
     */
    private String component;

    /**
     * 名称
     */
    private String name;

    /**
     * 菜单图标名称
     */
    private String iconCls;

    private Boolean keepAlive;

    /**
     * 是否需要认证
     */
    private Boolean requireAuth;

    /**
     * 父Id
     */
    private Integer parentId;

    /**
     * 是否可用
     */
    private Boolean enabled;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    @TableLogic
    private Integer delFlag;


}
